session
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
setAttribute
: Sets the value of the specified custom attribute.getAttribute
: Returns the value of the specified custom attributegetNativeSession
: Returns the native session.getRemoteAddr
: Returns the Internet Protocol (IP) address of the client or last proxy that sent the first request creating this session.getDeviceType
: Returns the device type that this session belongs to.
In most cases, we use session
to setAttribute
and getAttribute
.